#pragma once
#ifndef RECONSTRUCTION3D_H
#define RECONSTRUCTION3D_H



#include <stdio.h>
#include "StereoX/Stereo.h"
#include "View.h"
#include "highgui.h" 
#include "Matching.h"
#include <iostream>
#include <fstream>

//using namespace System;
using namespace Stereo;


/*ref*/ 
class Reconstruction3D
{
	public:
		 Reconstruction3D();
		~Reconstruction3D();
		void Generate3DPoints(char* videoPath, int intervalFrames, Matching matching, CameraParameters cam);
		void Generate3DPoints2(char* imagesPath, int intervalFrames, int numFrames, Matching matching, CameraParameters cam);
		void SetCamPositions(char* camPositionsFile);

		
		View *view1;
		View *view2;
		Matching matching;
		
		vector<int> positionX;
		vector<int> positionY;
		vector<int> angle;
};
#endif